import { defHttp } from '@/utils/http/axios'

// 查询现金购卡业务列表
export function getReport16Page(params) {
  return defHttp.get({ url: '/fy/report16/page', params })
}

// 查询现金购卡业务详情
export function getReport16(id: number) {
  return defHttp.get({ url: `/fy/report16/get?id=${id}` })
}

// 新增现金购卡业务
export function createReport16(data) {
  return defHttp.post({ url: '/fy/report16/create', data })
}

// 修改现金购卡业务
export function updateReport16(data) {
  return defHttp.put({ url: '/fy/report16/update', data })
}

// 删除现金购卡业务
export function deleteReport16(id: number) {
  return defHttp.delete({ url: `/fy/report16/delete?id=${id}` })
}

// 导出现金购卡业务 Excel
export function exportReport16(params) {
  return defHttp.download({ url: '/fy/report16/export-excel', params }, '现金购卡业务.xls')
}